makeFromFile

fun Typeface.Companion.makeFromFile(path: String, index: Int = 0): Typeface

Return

a new typeface given a file

Throws

If the file does not exist, or is not a valid font file